package com.xiaowu.house.house.constants;




public class HouseConstants {
    // 城市房源映射 key 前缀
    public static final String CITY_HOUSE_PREFIX = "house:list:";
    // 城市完整信息 key 前缀
    public static final String HOUSE_PREFIX = "house:";

    //定时更新房源状态分布式锁 key 前缀
    public static final String LOCK_KEY = "scheduledTask:lock";

    //判断是新增逻辑
    public static final int HOUSE_INSERT = 1;

    //判断是编辑逻辑
    public static final int HOUSE_EDIT = 2;

    //出租时长一年
    public static final String RENT_ONE_YEAR = "one_year";

    //出租时长半年
    public static final String RENT_HALF_YEAR = "half_year";

    //（测试用）出租时长30秒
    public static final String RENT_THIRTY_SECONDS = "thirty_seconds";
}
